from selenium.webdriver.common.by import By

class ProductMysqlLocator:

     #ip_white_list
     ip_white_list=(By.CSS_SELECTOR,'[id="creForm_whiteList"]')

     # status
     status = (By.CSS_SELECTOR, '[class="text-success ng-scope"]')

     # console_instance_name_input
     console_instance_name_input = (By.CSS_SELECTOR, '[ng-model="searchForm.searchText"]')

     # console_search_button
     console_search_button = (By.CSS_SELECTOR, '[data-ng-click="search()"]')

     # instance_id_ele
     instance_id_ele = (By.CSS_SELECTOR, '[class="rds-list-instance-modify ng-scope ng-isolate-scope"]>:nth-child(1)')

     # refresh_button
     refresh_button = (By.CSS_SELECTOR, '[data-ng-click="rdsListCtrl.refreshEventEmit()"]')

     # pay_as_you_go_button
     pay_as_you_go_button = (By.CSS_SELECTOR, '[id="creForm_billingMethod"]>div>:nth-child(2)>div>label>:nth-child(2)')